package com.mutual.reins.interf.mapper;

import com.mutual.reins.interf.entity.ReinsEndorUnit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 批单数据主表
 Mapper 接口
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-03-31
 */
public interface ReinsEndorUnitMapper extends BaseMapper<ReinsEndorUnit> {
    /**
     * 获取上次批单批单号
     * @param endorNo 批单号
     * @param policyNo 保单号
     * @return 返回上次批单批单号
     */
    String getPreEndorNo(String endorNo, String policyNo);
}
